package com.tuocent.dagv2.common.entity;

import lombok.Data;
import lombok.ToString;

import java.io.Serial;
import java.io.Serializable;
import java.util.Collection;

@Data
@ToString
public class LoginUserInfo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1593991534103994947L;
    //用户ID
    private String userId;
    //用户号
    private String userCode;
    //用户名称
    private String userName;
    //用户角色
    private Collection<String> roles;
    private String ip;
    private String spm;
}
